package cn.itcast.nems.studentrecord.dao.mapper;

import cn.itcast.nems.studentrecord.dao.dataobject.ClazzEnrollmentCountDO;
import cn.itcast.nems.studentrecord.dao.entity.ClazzEnrollmentCount;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 缴费记录 DAO
 * </p>
 *
 * @author zhouwei
 * @since 2023/11/1 7:00 PM
 **/
@Mapper
public interface ClazzEnrollmentCountMapper extends BaseMapper<ClazzEnrollmentCount> {
    /**
     * 缴费情况 分页查询
     * @param page 分页参数
     * @param countDO 搜索条件
     * @return 分页结果
     */
    @InterceptorIgnore(tenantLine = "true")
    IPage<ClazzEnrollmentCountDO> findPageList(Page<ClazzEnrollmentCountDO> page , @Param("countDO") ClazzEnrollmentCountDO countDO  ) ;

}
